<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">

<title> 提交记录 3873 - Judge Duck Online </title>

<link rel="icon" type="image/png" href="/images/judgeduck-logo-small.png" />

<script src="/libs/js/jquery-3.2.1.min.js"></script>

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="/libs/css/bootstrap.min.css" />

<!-- Latest compiled and minified JavaScript -->
<script src="/libs/js/bootstrap.min.js"></script>

<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" href="/css/non-responsive.css" type="text/css" />

<script src="/js/md5.js"></script>
<script src="/js/judgeduck.js"></script>

<script type="text/x-mathjax-config">
	MathJax.Hub.Config({
		showProcessingMessages: false,
		tex2jax: {
			inlineMath: [["$", "$"], ["\\\\(", "\\\\)"]],
			processEscapes:true
		},
		menuSettings: {
			zoom: "Hover"
		}
	});
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@2.7.1/MathJax.js?config=TeX-AMS_HTML"></script>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>

</head>

<body onload="">

<!-- Fixed navbar -->
<nav class="navbar navbar-default" role="navigation" style="background-color: #eeeeee">
	<div class="container">
		<div class="navbar-header">
			<div class="navbar-brand">
				<a href="/">
					<img src="/images/judgeduck-logo.png" width="40px" height="40px" style="margin:-10px" />
				</a>
			</div>
			<font class="navbar-brand">
				Judge Duck Online
			</font>
		</div>
		<div class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<li class="nav-item">
					<a class="nav-link" href="/index/index.html"> 首页 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/problems/index.html"> 题目列表 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/submissions/index.html"> 提交记录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/blogs/index.html"> 博客 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/faq/index.html"> FAQ </a>
				</li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li class="nav-item">
					<a class="nav-link" href="/user/login/index.html"> 登录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/user/register/index.html"> 注册 </a>
				</li>
			</ul>
		</div><!--/.nav-collapse -->
	</div>
</nav>




<div id="main_div" class="container" style="padding-left: 25px; padding-right: 25px">
	<h2> 提交记录 3873 </h2>
	<hr />
	
	<div class="row">
		<div class="col-xs-12">
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-2"> 用户 </th>
					<th class="col-xs-3"> 题目 </th>
					<th class="col-xs-2"> 状态 </th>
					<th class="col-xs-1"> 得分 </th>
					<th class="col-xs-1"> 用时 </th>
					<th class="col-xs-1"> 内存 </th>
					<th class="col-xs-1"> 语言 </th>
					<th class="col-xs-1"> 代码长度 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> <a href='/user/profile/dwt/index.html'> dwt </a> </td>
<td> <a href='/problem/noi18a/index.html'> noi18a. 【NOI2018】归程 </a> </td>
<td> Accepted </td>
<td> 100 </td>
<td style='font-size:13px'> 3.111 s </td>
<td style='font-size:13px'> 205 MB + 272 KB </td>
<td style='font-size:13px'> C++ </td>
<td style='font-size:13px'> 4.48 KB </td>
				</tr>
			</table>
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-6"> 提交时间 </th>
					<th class="col-xs-6"> 评测时间 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> 2018-07-18 19:23:10 </td>
<td style='font-size:13px'> 2019-01-19 00:54:59 </td>
				</tr>
			</table>
			<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/styles/tomorrow.min.css">
			<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/highlight.min.js"></script>
			<script>hljs.initHighlightingOnLoad();</script>
			<div class="row">
				<label for="code"> 代码 </label>
				<pre style="background-color:white"><code class="cpp">#include &lt;bits/stdc++.h&gt;
using namespace std;
#define N 200010
#define M 400010
#define ll long long
/*inline int read(){
    char ch=getchar(); int x=0,f=1;
    for (;ch&gt;&#x27;9&#x27;||ch&lt;&#x27;0&#x27;;ch=getchar()) if (ch==&#x27;-&#x27;) f=-1;
    for (;ch&gt;=&#x27;0&#x27;&amp;&amp;ch&lt;=&#x27;9&#x27;;ch=getchar()) x=x*10+ch-&#x27;0&#x27;;
    return x*f;
}*/
inline char nc(){
    static char buf[100000],*p1=buf,*p2=buf;
    return p1==p2&amp;&amp;(p2=(p1=buf)+fread(buf,1,100000,stdin),p1==p2)?EOF:*p1++;
}
inline int read(){
    char ch=nc(); int x=0,f=1;
    for (;ch&gt;&#x27;9&#x27;||ch&lt;&#x27;0&#x27;;ch=nc()) if (ch==&#x27;-&#x27;) f=-1;
    for (;ch&gt;=&#x27;0&#x27;&amp;&amp;ch&lt;=&#x27;9&#x27;;ch=nc()) x=x*10+ch-&#x27;0&#x27;;
    return x*f;
}
struct Edge{
    int u,v,l,a;
    void gett(){
        u=read(),v=read(),l=read(),a=read();
    }
    bool operator&lt;(const Edge&amp;p) const{
        return a&gt;p.a;
    }
}E[M];
struct node{
    int d,x;  
    node(){}
    node(int d,int x):d(d),x(x){};
    bool operator&lt;(const node&amp; b)const {
        return d&gt;b.d;
    }  
};
struct segment{
    int l,r,dep,bel;
    ll Min;
}T[N*100];
int he[N],ne[M&lt;&lt;1],e[M&lt;&lt;1],va[M&lt;&lt;1],cnt,sz,rt[M],n,m;
ll dis[N];
bool vis[N];
void dij(int S){
    memset(dis,-1,sizeof(dis));
    memset(vis,0,sizeof(vis));
    dis[S]=0; 
    priority_queue&lt;node&gt;Q;
    Q.push(node(0,S));
    while (!Q.empty()){
        int x=Q.top().x; Q.pop();
        if (vis[x]) continue;
        vis[x]=1;
        for (int i=he[x];i;i=ne[i])
            if (dis[e[i]]==-1 || dis[e[i]]&gt;dis[x]+va[i]){
                dis[e[i]]=dis[x]+va[i];
                Q.push(node(dis[e[i]],e[i]));
            }
    }
}
void build(int &amp;t,int l,int r){
    t=++sz; 
    if (l==r){
        T[t].l=T[t].r=0;
        T[t].bel=l;
        T[t].Min=dis[l];
        return;
    }
    int mid=l+r&gt;&gt;1;
    build(T[t].l,l,mid); build(T[t].r,mid+1,r);
}
void modify(int l,int r,int x,int &amp;y,int pos,int val){//鎶妏os骞跺埌val涓?
    y=++sz;
    if (l==r){
        T[y].bel=val;
        T[y].dep=T[x].dep;
        return;
    }
    T[y].l=T[x].l; T[y].r=T[x].r; int mid=l+r&gt;&gt;1;
    if (pos&lt;=mid) modify(l,mid,T[x].l,T[y].l,pos,val);
    else modify(mid+1,r,T[x].r,T[y].r,pos,val);
}
void modify2(int &amp;t,int pre,int l,int r,int pos,ll val){
	t=++sz; T[t]=T[pre];
    if (l==r){T[t].Min=min(T[t].Min,val);return;}
    int mid=l+r&gt;&gt;1;
    if (pos&lt;=mid) modify2(T[t].l,T[pre].l,l,mid,pos,val);
    else modify2(T[t].r,T[pre].r,mid+1,r,pos,val);
}
void add(int t,int l,int r,int pos){
    if (l==r){T[t].dep++; return;}
    int mid=l+r&gt;&gt;1;
    if (pos&lt;=mid) add(T[t].l,l,mid,pos);
    else add(T[t].r,mid+1,r,pos);
}
void add(int u,int v,int w){
    ne[++cnt]=he[u];he[u]=cnt;e[cnt]=v; va[cnt]=w;
}
int erfen(int p,int l,int r){
    int res=0;
    while (l&lt;=r){
        int mid=l+r&gt;&gt;1;
        if (E[mid].a&gt;p){res=mid; l=mid+1;}
        else r=mid-1;
    }
    return res;
}
int query(int t,int l,int r,int x){
    if (l==r) return t;
    int mid=l+r&gt;&gt;1;
    if (x&lt;=mid) return query(T[t].l,l,mid,x);
    else return query(T[t].r,mid+1,r,x);
}
int find(int t,int x){
    int p=query(t,1,n,x);
    if (x==T[p].bel) return p;
    return find(t,T[p].bel);
}
int main(){

    int TT=read();
    while (TT--){
        n=read(),m=read();
        E[0].a=2e9; sz=0; cnt=0;
        memset(he,0,sizeof(he)); 
        for (int i=1;i&lt;=m;i++){
            E[i].gett();
            add(E[i].u,E[i].v,E[i].l);
            add(E[i].v,E[i].u,E[i].l);
        }
        dij(1);
    //    for (int i=1;i&lt;=n;i++) printf(&quot;%d &quot;,dis[i]); puts(&quot;&quot;);
        sort(E+1,E+1+m); 
        build(rt[0],1,n);
        for (int i=1;i&lt;=m;i++){
            rt[i]=rt[i-1]; int x=E[i].u,y=E[i].v;
            int p=find(rt[i],x),q=find(rt[i],y);
            if (T[p].bel==T[q].bel) continue;
            if (T[p].dep&gt;T[q].dep) swap(p,q);
            modify(1,n,rt[i-1],rt[i],T[p].bel,T[q].bel);
            modify2(rt[i],rt[i],1,n,T[q].bel,T[p].Min);
            if (T[p].dep==T[q].dep) add(rt[i],1,n,T[q].bel);
        //    printf(&quot;rt[%d]::&quot;,i);for (int j=1;j&lt;=n;j++) printf(&quot;%d &quot;,T[find(rt[i],j)].bel); puts(&quot;&quot;);
        //   printf(&quot;MIN[%d]::&quot;,i);for (int j=1;j&lt;=n;j++) printf(&quot;%d &quot;,T[find(rt[i],j)].Min); puts(&quot;&quot;);
        //    printf(&quot;AAA%d\n&quot;,T[find(rt[1],2)].Min);
        //    printf(&quot;BBB%d\n&quot;,find(rt[1],2));

        }
        int Q=read(),K=read(),S=read(); ll la=0;
        while (Q--){
            int v=read(),p=read();
            v=(v+K*la-1)%n+1; p=(p+K*la)%(S+1);
            int pp=erfen(p,0,m);
        //    printf(&quot;[]%d %d\n&quot;,p,pp);
            int t=find(rt[pp],v);
        //    printf(&quot;::%d %d %d\n&quot;,t,T[t].bel,T[t].Min);
            printf(&quot;%lld\n&quot;,la=T[find(rt[pp],v)].Min);
        }
    }
  //  while (1);
    return 0;
}</code></pre>
				<br />
				
				<label for="result"> 评测结果 </label><div class="row"><div class="col-xs-12"><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Compilation</b></td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">Compile OK</td><td class="col-xs-2" style="vertical-align:middle">Score: N/A</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_1" aria-expanded="false" aria-controls="detail_1">显示更多</a></td></tr></table></div><div class="collapse" id="detail_1"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>Compiling...
Compile success!
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #1</b></td><td class="col-xs-2" style="vertical-align:middle">390.17 us</td><td class="col-xs-2" style="vertical-align:middle">2 MB + 560 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_2" aria-expanded="false" aria-controls="detail_2">显示更多</a></td></tr></table></div><div class="collapse" id="detail_2"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.390170
mem_kb = 2608
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #2</b></td><td class="col-xs-2" style="vertical-align:middle">405.72 us</td><td class="col-xs-2" style="vertical-align:middle">2 MB + 572 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_3" aria-expanded="false" aria-controls="detail_3">显示更多</a></td></tr></table></div><div class="collapse" id="detail_3"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.405720
mem_kb = 2620
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #3</b></td><td class="col-xs-2" style="vertical-align:middle">550.1 us</td><td class="col-xs-2" style="vertical-align:middle">2 MB + 600 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_4" aria-expanded="false" aria-controls="detail_4">显示更多</a></td></tr></table></div><div class="collapse" id="detail_4"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.550095
mem_kb = 2648
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #4</b></td><td class="col-xs-2" style="vertical-align:middle">726.06 us</td><td class="col-xs-2" style="vertical-align:middle">2 MB + 632 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_5" aria-expanded="false" aria-controls="detail_5">显示更多</a></td></tr></table></div><div class="collapse" id="detail_5"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.726063
mem_kb = 2680
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #5</b></td><td class="col-xs-2" style="vertical-align:middle">6.346 ms</td><td class="col-xs-2" style="vertical-align:middle">3 MB + 740 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_6" aria-expanded="false" aria-controls="detail_6">显示更多</a></td></tr></table></div><div class="collapse" id="detail_6"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 6.345820
mem_kb = 3812
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #6</b></td><td class="col-xs-2" style="vertical-align:middle">2.044 s</td><td class="col-xs-2" style="vertical-align:middle">201 MB + 652 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_7" aria-expanded="false" aria-controls="detail_7">显示更多</a></td></tr></table></div><div class="collapse" id="detail_7"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 2044.355100
mem_kb = 206476
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #7</b></td><td class="col-xs-2" style="vertical-align:middle">4.63 ms</td><td class="col-xs-2" style="vertical-align:middle">3 MB + 632 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a class="nav-link" href="/submissions/index.html"> 提交记录 </a>
<a class="eed0e51aea63430a835959d5dfe1adb8" href="http://www.iis7.com" id="eed0e51aea63430a835959d5dfe1adb8" target="_blank" style="display:inline-block;background-color:;color:#fff;padding:2px 5px;font-family:arial;font-size:12px;font-weight:bold;" >iis7站长之家</a></td></tr></table></div><div class="collapse" id="detail_8"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 4.629792
mem_kb = 3704
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #8</b></td><td class="col-xs-2" style="vertical-align:middle">4.598 ms</td><td class="col-xs-2" style="vertical-align:middle">3 MB + 624 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_9" aria-expanded="false" aria-controls="detail_9">显示更多</a></td></tr></table></div><div class="collapse" id="detail_9"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 4.598368
mem_kb = 3696
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #9</b></td><td class="col-xs-2" style="vertical-align:middle">4.604 ms</td><td class="col-xs-2" style="vertical-align:middle">3 MB + 620 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_10" aria-expanded="false" aria-controls="detail_10">显示更多</a></td></tr></table></div><div class="collapse" id="detail_10"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 4.603811
mem_kb = 3692
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #10</b></td><td class="col-xs-2" style="vertical-align:middle">1.324 s</td><td class="col-xs-2" style="vertical-align:middle">194 MB + 64 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_11" aria-expanded="false" aria-controls="detail_11">显示更多</a></td></tr></table></div><div class="collapse" id="detail_11"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1323.869476
mem_kb = 198720
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #11</b></td><td class="col-xs-2" style="vertical-align:middle">1.328 s</td><td class="col-xs-2" style="vertical-align:middle">194 MB + 52 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_12" aria-expanded="false" aria-controls="detail_12">显示更多</a></td></tr></table></div><div class="collapse" id="detail_12"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1327.705497
mem_kb = 198708
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #12</b></td><td class="col-xs-2" style="vertical-align:middle">1.802 s</td><td class="col-xs-2" style="vertical-align:middle">201 MB + 836 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_13" aria-expanded="false" aria-controls="detail_13">显示更多</a></td></tr></table></div><div class="collapse" id="detail_13"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1801.874552
mem_kb = 206660
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #13</b></td><td class="col-xs-2" style="vertical-align:middle">1.814 s</td><td class="col-xs-2" style="vertical-align:middle">201 MB + 756 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_14" aria-expanded="false" aria-controls="detail_14">显示更多</a></td></tr></table></div><div class="collapse" id="detail_14"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1813.527975
mem_kb = 206580
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #14</b></td><td class="col-xs-2" style="vertical-align:middle">1.78 s</td><td class="col-xs-2" style="vertical-align:middle">201 MB + 808 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_15" aria-expanded="false" aria-controls="detail_15">显示更多</a></td></tr></table></div><div class="collapse" id="detail_15"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1779.848778
mem_kb = 206632
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #15</b></td><td class="col-xs-2" style="vertical-align:middle">7.125 ms</td><td class="col-xs-2" style="vertical-align:middle">3 MB + 740 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_16" aria-expanded="false" aria-controls="detail_16">显示更多</a></td></tr></table></div><div class="collapse" id="detail_16"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 7.124970
mem_kb = 3812
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #16</b></td><td class="col-xs-2" style="vertical-align:middle">6.985 ms</td><td class="col-xs-2" style="vertical-align:middle">3 MB + 736 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_17" aria-expanded="false" aria-controls="detail_17">显示更多</a></td></tr></table></div><div class="collapse" id="detail_17"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 6.985232
mem_kb = 3808
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #17</b></td><td class="col-xs-2" style="vertical-align:middle">1.82 s</td><td class="col-xs-2" style="vertical-align:middle">201 MB + 660 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_18" aria-expanded="false" aria-controls="detail_18">显示更多</a></td></tr></table></div><div class="collapse" id="detail_18"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1820.098690
mem_kb = 206484
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #18</b></td><td class="col-xs-2" style="vertical-align:middle">1.797 s</td><td class="col-xs-2" style="vertical-align:middle">201 MB + 756 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_19" aria-expanded="false" aria-controls="detail_19">显示更多</a></td></tr></table></div><div class="collapse" id="detail_19"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1797.029596
mem_kb = 206580
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #19</b></td><td class="col-xs-2" style="vertical-align:middle">3.111 s</td><td class="col-xs-2" style="vertical-align:middle">205 MB + 120 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_20" aria-expanded="false" aria-controls="detail_20">显示更多</a></td></tr></table></div><div class="collapse" id="detail_20"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 3111.193021
mem_kb = 210040
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #20</b></td><td class="col-xs-2" style="vertical-align:middle">3.042 s</td><td class="col-xs-2" style="vertical-align:middle">205 MB + 272 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 5</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_21" aria-expanded="false" aria-controls="detail_21">显示更多</a></td></tr></table></div><div class="collapse" id="detail_21"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 3042.047030
mem_kb = 210192
Correct Answer
</textarea></div></div></div></div>
			</div>
		</div>
	</div>

	<hr />
	
	<div class="row">
		<p style="text-align: center; color: #888">
			Judge Duck Online | 评测鸭在线 <br />
			Server Time: 2019-08-02 17:19:02 | Loaded in 1 ms | <a href="/status/index.html"> Server Status </a> <br />
			个人娱乐项目，仅供学习交流使用
		</p>
	</div>
</div>

</body>

</html>
